package com.mx.web.model;

import java.util.HashMap;
import java.util.Map;

public class ResInfo {

	private boolean result;
	private String resultInfo;
	private Map<String, Object> params=new HashMap<String, Object>();
	
	public boolean isSuccess() {
		return result;
	}
	
	public void setResult(boolean result) {
		this.result = result;
	}
	
	public String getResultInfo() {
		return resultInfo;
	}

	public void setResultInfo(String resultInfo) {
		this.resultInfo = resultInfo;
	}

	public void put(String key,Object value){
		params.put(key, value);
	}
	
	public Object get(String key){
		return params.get(key);
	}
	
	public Map<String, Object> getParams() {
		return params;
	}
	
	public void setParams(Map<String, Object> params) {
		this.params = params;
	}
}
